home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
526-550
/
disk_532
/
dataplot
/
macro.demo
< prev
next >
Wrap
Text File
|
1992-05-06
|
1KB
|
81 lines
onerror continue
newplot
screendepth 3
CD .
majorticks yes
dataset data
DrawFunction 1.848004 + 9.849741 * X -9.594434*X^2
DrawFunction 3.389678 -7.341761 * X + 28.23437*X^2 -21.90923*X^3
PlotText "Matt's Data" 2 .0744, 4.87
PlotText "2nd Order Curve Fit" 3 .0168, 1.38
PlotText "3rd Order Curve Fit" 4 .6192, .846
beep
voice female
speak This is a plot with data and curve fitting.
pause Data and fit finished.
newplot
color 0,7,7,7
screendepth 1
screenresolution 640x400
dataset loglog
voice male
speak semi log plots can be made, also
color 0,0,0,0
pause Log - Log finished.
newplot
screendepth 2
screenresolution 640x200
title Plot of cos(x*3)*sin(x/5)
xlabel time
ylabel amplitude
drawfunction cos(x*3)*sin(x/5),0,18
pause Function Plot finished.
;maxcolors 8
newplot
screendepth 3
color 0,12,4,11
title Macro Demonstration
xlabel Bytes and Bullets
ylabel Made in USA
grids no
numerics no
scale=manual
xmin=0
xmax=14
ymin=0
ymax=10
xcol=7
ycol=8
segments no
markers yes
dataset star
xcol 1
ycol 2
dataset star
xcol=3
ycol=4
dataset star
markers no
xcol=5
ycol=6
dataset star
dataset demodata
;left eye next
curvecolor=7
xcol=3
ycol=4
dataset demodata
;right eye next
curvecolor=7
xcol=5
ycol=6
dataset demodata
;smile next
curvecolor=3
xcol=7
ycol=8
dataset demodata
pause Circles and Stars Finished.
speak This completes the demonstration!
color 0,5,5,10